package com.bowos.zmado.model;

import java.util.List;

import com.orifine.orm.annotation.Column;
import com.orifine.orm.annotation.Id;
import com.orifine.orm.annotation.Table;
import com.orifine.orm.type.Address;

/**
 * 网站菜单
 * @author Administrator
 *
 */
@Table
public class WebMenu {
	@Id
	@Column
	private Integer id;
	
	/**
	 * 菜单名称
	 */
	private String name;
	
	/**
	 * 菜单链接
	 */
	private Address address;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Address getAddress() {
		return address;
	}

	public void setAddress(Address address) {
		this.address = address;
	}
	
	private List<WebMenuItem> menuitems;

	public List<WebMenuItem> getMenuitems() {
		return menuitems;
	}

	public void setMenuitems(List<WebMenuItem> menuitems) {
		this.menuitems = menuitems;
	}
}
